package org.nobody.mallb2c.mallauth.feign;

import com.netflix.client.ClientException;
import org.nobody.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 3489309323@qq.com
 * @create 2020-09-17-10:32
 */
@FeignClient("mall-third-party")
public interface ThirdPartFeignService {
  @GetMapping("/sms/sendcode")
  public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code) throws ClientException;
}
